package hash

import (
	"crypto/md5"
)

// Md5 md5摘要算法
func Md5(data, key string, opts ...string) ([]byte, error) {
	hash := md5.New()
	hash.Write([]byte(data))
	return hash.Sum(nil), nil
}
